#include<stdio.h>
int main(){
    unsigned short operand=65501;
    int a=operand>>12;
    a=0b1111&a;
    printf("%d\n",a);
    int b=0b1&(operand>>5);
    printf("%c",48+(short)operand);    return 0;
}